package br.usp.icmc.biomac.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@SuppressWarnings("serial")
public class ImageDicom implements Serializable /*, ClientSerializable*/ {

	private String url;
	private String id;
	private List<ROI> rois = new ArrayList<ROI>();
	
	public List<ROI> getRois() {
		return rois;
	}

	public void setRois(List<ROI> rois) {
		this.rois = rois;
	}

	public ImageDicom() {}
	
	public ImageDicom(String url, String id) {
		this.url = url;
		this.id = id;
	}
	
	public ImageDicom(String url, String id, ArrayList<ROI> rois) {
		this.url = url;
		this.id = id;
		this.rois = rois;
	}

	
	public String getUrl() {
		return this.url;
	}
	public void setUrl(String url){
		this.url = url;
	}
	
	public String getId() {
		return this.id;
	}
	public void setId(String id){
		this.id = id;
	}
	public void addROI(ROI roi){
		rois.add(roi);
	}
	public void rmvROI(int id){
		rois.remove(id);
	}
}
